<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Relations\BelongsTo;

/**
 * @mixin IdeHelperRightsEntityProduct
 */
class RightsEntityProduct extends BaseModel
{
    public function entity(): BelongsTo
    {
        return $this->belongsTo(RightsEntity::class, 'entity_id');
    }
}
